﻿using System;
using System.Collections.Generic;
using System.Text;
using SQLite;

namespace FileSystem.Models {
    /// <summary>
    /// 物理磁盘块
    /// </summary>
    public class PhysicalDiskBlock {
        /// <summary>
        /// 物理块号(限制为64块)
        /// </summary>
        [PrimaryKey]
        [AutoIncrement]
        public int PhysicalBlockNumber { get; set; }

        /// <summary>
        /// 内容(限制为1KB)
        /// </summary>
        public string Content { get; set; }
    }

    public static class PhysicalDiskBlockConst {
        public const int Count = 64;//个物理磁盘块

        public const int Size = 1;//KB
            
        public enum Property {
            PhysicalBlockNumber,
            Content
        }
    }
}